package com.itdr.protal.service;

import com.itdr.common.ServerResponse;
import com.itdr.pojo.Shipping;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author AirZhang
 * @since 2020-10-20
 */
public interface IShippingService extends IService<Shipping> {

    ServerResponse addOne(Integer uid, Shipping sh);

    ServerResponse deleteOne(Integer uid, Integer sid);

    ServerResponse updateOne(Integer uid, Shipping sh);

    ServerResponse selectOne(Integer uid, Integer sid);

    ServerResponse selectAll(Integer uid, Integer sid);

    ServerResponse setDefault(Integer uid, Integer sid);
}
